package br.uvv.sao.managedBean;

import java.io.Serializable;

import javax.faces.event.ActionEvent;

import br.uvv.sao.util.Util;

public class Redirecionador implements Serializable {

	private static final long serialVersionUID = 620840191854746454L;

	public void goHome(ActionEvent actionEvent) {  
		Util.redirecionar("/views/index.xhtml");
	}
	
	public void goProfessores(ActionEvent actionEvent) {  
		Util.redirecionar("/views/csu00/show.xhtml");
	}
	
	public void goDisciplinas(ActionEvent actionEvent) {  
		Util.redirecionar("/views/csu01/show.xhtml");
	}
	
	public void goAlunos(ActionEvent actionEvent) {  
		Util.redirecionar("/views/csu02/show.xhtml");
	}
	
	public void goOfertas(ActionEvent actionEvent) {  
		Util.redirecionar("/views/csu03/show.xhtml");
	}
	
	public void goAssuntos(ActionEvent actionEvent) {  
		Util.redirecionar("/views/csu05/show.xhtml");
	}
	
	public void goQuestoes(ActionEvent actionEvent) {  
		Util.redirecionar("/views/csu06/show.xhtml");
	}
}
